package com.example.boot1.aop.annotation;

import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

/**
 * @author Create By Liuqz
 * @date 2019/12/20 17:10
 */
@Aspect
@Component
public class aspectJController {

    @Around("@annotation(MyAnnncontion)")
    public void getMethod() {
        System.out.println("aop 进行记录");
    }


}
